#!/usr/bin/env  python
#coding:utf-8


a = ['a','b','c','d','e','f']



b = ('1','2','3','4','5','6')



for i  in  a:
    for j in b:
        print i,j


for n in range(1,10,2):
    print n
    if n == 5:
        break




